package com.pgytesting.secondhandcar.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 服务信息(ServiceInformation)实体类
 *
 * @author makejava
 * @since 2019-08-12 18:55:58
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)   // 注解对对象空值进行json互转时的null值进行移除
public class ServiceInformation implements Serializable {
    //ID
    @NotNull(message = "ID不能为空")
    private String id;
    //真橙服务费
    @NotNull(message = "真橙服务费不能为空")
    private String realOrangeServiceFee;
    //真橙服务费收取方式
    @NotNull(message = "真橙服务费收取方式不能为空")
    private String realOrangeServiceFeeCollectionMethod;
    //账户管理费
    @NotNull(message = "账户管理费不能为空")
    private String accountManagementFee;
    //账户管理费收取方式
    @NotNull(message = "账户管理费收取方式不能为空")
    private String accountManagementFeeCollectionMethod;
    //车商返佣
    @NotNull(message = "车商返佣不能为空")
    private Integer carDealerRebate;
    //是否真橙车商放款
    @NotNull(message = "是否真橙车商放款不能为空")
    private String isItReallyOrangeCarDealersToLend;
    //创建人
    private String createdBy;
    //创建时间
    private Long createdTime;
    //更新人
    private String updatedBy;
    //更新时间
    private Long updatedTime;
    //状态 -1为删除或者异常，默认为0
    private Integer status;


}